﻿using System;
using System.Collections.Generic;
using System.Text;

namespace QuanLyThuVien.DTO
{
    class PhieuTraSachDTO
    {
        private int maPhieuTraSach;

        public int MaPhieuTraSach
        {
            get { return maPhieuTraSach; }
            set { maPhieuTraSach = value; }
        }

        private DateTime ngayTra;

        public DateTime NgayTra
        {
            get { return ngayTra; }
            set { ngayTra = value; }
        }

        private Double tongTienPhat;

        public Double TongTienPhat
        {
            get { return tongTienPhat; }
            set { tongTienPhat = value; }
        }

        private DocGiaDTO docGia;

        internal DocGiaDTO DocGia
        {
            get { return docGia; }
            set { docGia = value; }
        }

        public PhieuTraSachDTO()
        {
            this.MaPhieuTraSach = -1;
            this.NgayTra = DateTime.Today;
            this.TongTienPhat = 0;
            this.DocGia = null;
        }
    }
}
